package com.xinzhi.mapper;

import com.xinzhi.pojo.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface SetPasswordMapper {

    //设置密码
    int setPassword(@Param("phone") String phone,@Param("password") String password);

    //修改密码
    int updatePassword(@Param("phone") String phone,@Param("password") String password);

    //查询当前用户信息
    User getUserByPhone(String phone);

}
